<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PHPTorrent</title>
<link href="templates/default/styles/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">PHPTorrent</div>
<div id="left">
<div class="section_title">Navigation</div>
<div class="nav">
<a href="./">Home</a>
{if !$core->session->isLoggedIn()}
<a href="./?n=login">Login</a>
<a href="./?n=register">Register</a>
{else}
{if $smarty.session.userlevel >= $smarty.const.USER_UPLOADER}
<a href="./?n=upload">Upload</a>
{/if}
{if $smarty.session.userlevel >= $smarty.const.USER_MODERATOR}
<a href="./?n=news/add">Add News</a>
{/if}
{if $smarty.session.userlevel >= $smarty.const.USER_ADMIN}
{/if}
<a href="./?n=logout">Logout</a>
{/if}
</div>&nbsp;
<div class="section_title">Statistics</div>
{assign var="statistics" value=$core->database->get_statistics()}
Registered Users - {$statistics.users}
</div>
<div id="right">
{include file="widget_poll.tpl"}
</div>
<div id="middle">